using namespace std;
class Punct
  {
    public:
      int x;
      int y;
      Punct();
      Punct(int a,int b);
      int getX();
      int getY();
      void setX(int l);
      void setY(int n);
  };
class Segment
  {
    public:
      Punct a;
      Punct b;
      Segment();
      Segment(Punct a,Punct b);
      void setPunctA(int x,int y);
      void setPunctB(int x,int y);
      Punct getPunctA(Segment L);
      Punct getPunctB(Segment L);
      float getPanta();
  };


